package com.soxing.braindata.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author durango
 * @since 2022-11-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Role对象", description="")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "类型")
    private Integer type;

    @ApiModelProperty(value = "角色pk_id")
    private String rolePkId;

    @ApiModelProperty(value = "角色名")
    private String roleName;

    @ApiModelProperty(value = "用户pk_id")
    private String userPkId;

    @ApiModelProperty(value = "课题pk_id")
    private String subjectPkId;

    @ApiModelProperty(value = "课题编码")
    private String subjectCode;

    @ApiModelProperty(value = "分中心pk_id")
    private String sitePkId;

    @ApiModelProperty(value = "分中心编码")
    private String siteCode;

    @ApiModelProperty(value = "机构pk_id")
    private String agencyPkId;


}
